snmp trap

This command configures SNMP traps.

Syntax

(config-system)# snmp trap
(snmp-trap)# 

Command

Description

auto-send-keep-alive {disable|enable}

Invokes a keep-alive trap and sends it every 9/10 of the time configured by the parameter NatBindingDefaultTimeout.

community-string

Defines the community string used in traps.

reset-community-string

Returns to the default trap community string.

Command Mode

Privileged User

Example

This example configures the community string for traps:

(config-system)# snmp trap 
(snmp-trap)# community-string Public-trap12ab